package com.entity;

import org.apache.ibatis.type.Alias;

@Alias("BaseLogin")
public class Login extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 登录账户
	 */
	private String account;

	/**
	 * 登录密码
	 */
	private String password;

	/**
	 * 密码加密方式
	 */
	private String encryption;

	/**
	 * 最后登录时间
	 */
	private String lastLoginTime;

	/**
	 * 登录ip地址
	 */
	private String loginIp;


	public Login () {
		super();
	}

	public Login (String id,String account,String password,String encryption,String lastLoginTime,String loginIp) {
		this.id = id;
		this.account = account;
		this.password = password;
		this.encryption = encryption;
		this.lastLoginTime = lastLoginTime;
		this.loginIp = loginIp;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEncryption() {
		return this.encryption;
	}

	public void setEncryption(String encryption) {
		this.encryption = encryption;
	}

	public String getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getLoginIp() {
		return this.loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	@Override
	public String toString() {
		return "Login[id=" + id+ ", account=" + account + ", password=" + password + ", encryption=" + encryption + ", lastLoginTime=" + lastLoginTime + ", loginIp=" + loginIp + "]";
	}


}

